package com.atguigu.yygh.order.service;

import com.atguigu.yygh.model.order.OrderInfo;
import com.atguigu.yygh.model.order.PaymentInfo;

import java.util.Map;

public interface PaymentInfoService {
    void savePaymentInfo(OrderInfo orderInfo, Integer status);

    void UpdatePaymentInfo(Map<String, String> resultMap, String outTradeNo);

    PaymentInfo findByOrderId(Long orderId);

    void updatePaymentInfoStatusByOrderId(Long orderId, Integer status);
}
